package io.esriong.android.demo;

import android.os.Bundle;
import android.view.View;

import io.esirong.base.BaseMvpActivity;
import io.esriong.android.demo.mvp.MainContract;
import io.esriong.android.demo.mvp.MainPresenter;

public class MainActivity extends BaseMvpActivity<MainPresenter> implements MainContract.View {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        showLoading();
    }

    @Override
    protected void initView(View view) {
        super.initView(view);
    }

    @Override
    protected MainPresenter createPresenter() {
        return null;
    }

    @Override
    public void showNew() {
        presenter().signOk();

    }
}
